package com.ml.mall.bean.req.sys;

import com.ml.mall.bean.base.PageDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @description description
 * @author yx
 * @date 2021/9/28
 * @version 1.0
*/
@ApiModel("分页查询路由")
@Data
public class SysRoutingQueryPageDto extends PageDto {
    @ApiModelProperty("路由类型 1菜单 2权限")
    private Integer type;

    @ApiModelProperty("角色类型")
    @NotNull(message = "角色类型不可为空")
    private Integer roleType;
}
